 <template>
	<view class="">
		<web-view :src="url"></web-view>
	</view>
</template>

<script>
	export default {
		name: "",
		components: {

		},
		data() {
			return {
				url:''
			}
		},
		onLoad(option) {
			let that = this
			that.$http.get('/contract/downloadFlowDoc', {orderId:option.id}).then(res => {
				if (res.code == '0') {
					this.url = res.data.docs[0].fileUrl
					
				}else{
					uni.showToast({
						title: res.msg,
						icon: 'none'
					})
				}
				
			})
		}


	}
</script>

<style scoped lang="scss">

</style>